home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / VBASIC / TIME2WIN.ZIP / TIME2WIN.BAS < prev    next >
Encoding:
BASIC Source File  |  1996-08-25  |  81.9 KB  |  1,140 lines

  1. Option Explicit
  2.  
  3. ' definition for win.ini section
  4. Global Const GET_TIME_SEPARATOR = 1
  5. Global Const GET_DATE_SEPARATOR = 2
  6. Global Const GET_TIME_FORMAT = 3
  7. Global Const GET_DATE_FORMAT = 4
  8. Global Const GET_CURRENCY = 5
  9. Global Const GET_LANGUAGE = 6
  10. Global Const GET_COUNTRY = 7
  11. Global Const GET_COUNTRY_CODE = 8
  12. Global Const GET_LIST_SEPARATOR = 9
  13. Global Const GET_DEFAULT_PRINTER = 10
  14.  
  15. ' definition for drive type
  16. Global Const DRIVE_UNKNOW = 0
  17. Global Const DRIVE_REMOVABLE = 2
  18. Global Const DRIVE_FIXED = 3
  19. Global Const DRIVE_REMOTE = 4
  20. Global Const DRIVE_CDROM = 20
  21.  
  22. ' definition for file attributes
  23. Global Const A_NORMAL = &H0             'Normal file - No read/write restrictions
  24. Global Const A_RDONLY = &H1             'Read only file
  25. Global Const A_HIDDEN = &H2             'Hidden file
  26. Global Const A_SYSTEM = &H4             'System file
  27. Global Const A_VOLID = &H8              'Volume ID file
  28. Global Const A_SUBDIR = &H10            'Subdirectory
  29. Global Const A_ARCH = &H20              'Archive file
  30. Global Const A_NORMAL_ARCHIVE = &HFE    'Normal, Archive
  31. Global Const A_ALL = &HFF               'Normal, Archive, Read-Only, Hidden, System
  32.  
  33. ' definition for encrypt/decrypt
  34. Global Const ENCRYPT_LEVEL_0 = 0
  35. Global Const ENCRYPT_LEVEL_1 = 1
  36. Global Const ENCRYPT_LEVEL_2 = 2
  37. Global Const ENCRYPT_LEVEL_3 = 3
  38. Global Const ENCRYPT_LEVEL_4 = 4
  39.  
  40. Global Const CRYPTO_KEY_TOO_SMALL = -1
  41. Global Const CRYPTO_CANT_INIT_KEY = -2
  42. Global Const CRYPTO_CANT_INIT_BUFFER = -11
  43. Global Const CRYPTO_CANT_OPEN_FILEIN = -21
  44. Global Const CRYPTO_CANT_CREATE_FILEOUT = -22
  45. Global Const CRYPTO_ERROR_READING_FILEIN = -31
  46. Global Const CRYPTO_ERROR1_WRITING_FILEOUT = -41
  47. Global Const CRYPTO_ERROR2_WRITING_FILEOUT = -42
  48. Global Const CRYPTO_ERROR1_WRITING_LASTBYTE = -51
  49. Global Const CRYPTO_ERROR2_WRITING_LASTBYTE = -52
  50. Global Const CRYPTO_BAD_LASTBYTE = -61
  51.  
  52. Global Const RUBY_MODE_MINIMUM = 1           ' speed is of the essence, security secondary.
  53. Global Const RUBY_MODE_DESK_LOCK = 2         ' reasonable compromise of speed vs security.
  54. Global Const RUBY_MODE_DEAD_BOLT = 4         ' default = probably good enough for most things.
  55. Global Const RUBY_MODE_PORTABLE_SAFE = 5     ' security is more important than speed.
  56. Global Const RUBY_MODE_ANCHORED_SAFE = 8     ' speed isn't much of a concern.
  57. Global Const RUBY_MODE_BANK_VAULT = 10       ' your pentium has nothing better to do, anyway.
  58. Global Const RUBY_MODE_FORT_KNOX = 16        ' be cool.
  59.  
  60. ' definition for FILECRC32
  61. Global Const OPEN_MODE_BINARY = 0
  62. Global Const OPEN_MODE_TEXT = 1
  63.  
  64. ' definition for FILEUUCP
  65. Global Const MODE_UUENCODE = 0
  66. Global Const MODE_UUDECODE = 1
  67.  
  68. ' definition for ARRAYONDISK
  69. Global Const PUT_ARRAY_ON_DISK = 0
  70. Global Const GET_ARRAY_ON_DISK = 1
  71.  
  72. ' definition for big numbers
  73. Global Const BIG_ADD = 0
  74. Global Const BIG_SUB = 1
  75. Global Const BIG_MUL = 2
  76.  
  77. ' definition for file version information
  78. Global Const VER_VERSION_PRODUCT = -1
  79. Global Const VER_VERSION_FILE = 0
  80. Global Const VER_COMPANY_NAME = 1
  81. Global Const VER_FILE_DESCRIPTION = 2
  82. Global Const VER_FILE_VERSION = 3
  83. Global Const VER_INTERNAL_NAME = 4
  84. Global Const VER_LEGAL_COPYRIGHT = 5
  85. Global Const VER_LEGAL_TRADEMARKS = 6
  86. Global Const VER_PRODUCT_NAME = 7
  87. Global Const VER_PRODUCT_VERSION = 8
  88.  
  89. ' definition for language in multi-language management
  90. Global Const LNG_FRENCH = 1
  91. Global Const LNG_DUTCH = 2
  92. Global Const LNG_GERMAN = 3
  93. Global Const LNG_ENGLISH = 4
  94. Global Const LNG_ITALIAN = 5
  95. Global Const LNG_SPANISH = 6
  96. Global Const LNG_CATALAN = 7
  97. Global Const LNG_POLISH = 8
  98. Global Const LNG_NORVEGIAN = 9
  99.  
  100. ' definition for message position in multi-language message box
  101. Global Const MB_MESSAGE_LEFT = 0
  102. Global Const MB_MESSAGE_CENTER = 8192
  103. Global Const MB_MESSAGE_RIGHT = 16384
  104.  
  105. ' definition for timeout management in multi-language message box
  106. Global Const MB_TIMEOUT_2 = 32768
  107. Global Const MB_TIMEOUT_4 = 2 * MB_TIMEOUT_2
  108. Global Const MB_TIMEOUT_8 = 2 * MB_TIMEOUT_4
  109. Global Const MB_TIMEOUT_16 = 2 * MB_TIMEOUT_8
  110.  
  111. Global Const MB_TIMEOUT_6 = MB_TIMEOUT_2 Or MB_TIMEOUT_4
  112. Global Const MB_TIMEOUT_10 = MB_TIMEOUT_2 Or MB_TIMEOUT_8
  113. Global Const MB_TIMEOUT_12 = MB_TIMEOUT_4 Or MB_TIMEOUT_8
  114. Global Const MB_TIMEOUT_14 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8
  115. Global Const MB_TIMEOUT_18 = MB_TIMEOUT_2 Or MB_TIMEOUT_16
  116. Global Const MB_TIMEOUT_20 = MB_TIMEOUT_4 Or MB_TIMEOUT_16
  117. Global Const MB_TIMEOUT_22 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_16
  118. Global Const MB_TIMEOUT_24 = MB_TIMEOUT_8 Or MB_TIMEOUT_16
  119. Global Const MB_TIMEOUT_26 = MB_TIMEOUT_2 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  120. Global Const MB_TIMEOUT_28 = MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  121. Global Const MB_TIMEOUT_30 = MB_TIMEOUT_2 Or MB_TIMEOUT_4 Or MB_TIMEOUT_8 Or MB_TIMEOUT_16
  122.  
  123. Global Const MB_DISPLAY_TIMEOUT = 524288
  124.  
  125. ' definition for properties for language management
  126. Global Const RS_CAPTION = 1
  127. Global Const RS_TEXT = 2
  128. Global Const RS_DATAFIELD = 4
  129. Global Const RS_DATASOURCE = 8
  130. Global Const RS_TAG = 16
  131. Global Const RS_MENU = 32
  132. Global Const RS_ALL = 255
  133.  
  134. ' definition for error type for PATTERNMATCHEXT
  135. Global Const MATCH_HEXA = 17
  136. Global Const MATCH_INTERNAL_ERROR = 16
  137. Global Const MATCH_PATTERN = 15
  138. Global Const MATCH_LITERAL = 14
  139. Global Const MATCH_RANGE = 13
  140. Global Const MATCH_ABORT = 12
  141. Global Const MATCH_END = 11
  142. Global Const MATCH_VALID = -1
  143.  
  144. Global Const PATTERN_VALID = 0
  145. Global Const PATTERN_INVALID = 1
  146. Global Const PATTERN_ESC = 2
  147. Global Const PATTERN_RANGE = 3
  148. Global Const PATTERN_CLOSE = 4
  149. Global Const PATTERN_EMPTY = 5
  150. Global Const PATTERN_INTERNAL_ERROR = 6
  151. Global Const PATTERN_HEXA = 7
  152.  
  153. ' definition for error type for ISFILENAMEVALID
  154. Global Const IFV_ERROR = 0
  155. Global Const IFV_NAME_TOO_LONG = 1
  156. Global Const IFV_EXT_TOO_LONG = 2
  157. Global Const IFV_TOO_MANY_BACKSLASH = 3
  158. Global Const IFV_BAD_DRIVE_LETTER = 4
  159. Global Const IFV_BAD_COLON_POS = 5
  160. Global Const IFV_EXT_WITHOUT_NAME = 6
  161.  
  162. ' definition for variable type in DISK ARRAY
  163. Global Const DA_BYTE = 1
  164. Global Const DA_TYPE = 0
  165. Global Const DA_INTEGER = -2
  166. Global Const DA_LONG = -3
  167. Global Const DA_SINGLE = -4
  168. Global Const DA_DOUBLE = -5
  169. Global Const DA_CURRENCY = -6
  170.  
  171. ' definition for error type in DISK ARRAY
  172. Global Const DA_NO_ERROR = True
  173. Global Const DA_EMPTY_FILENAME = 1
  174. Global Const DA_BAD_FILENAME = 2
  175. Global Const DA_CAN_KILL_FILE = 3
  176. Global Const DA_CAN_NOT_OPEN_FILE = 4
  177. Global Const DA_FILE_NOT_FOUND = 5
  178. Global Const DA_BAD_TYPE = 6
  179. Global Const DA_BAD_ROWS = 7
  180. Global Const DA_BAD_COLS = 8
  181. Global Const DA_BAD_SHEETS = 9
  182. Global Const DA_CAN_NOT_WRITE_HEADER = 10
  183. Global Const DA_CAN_NOT_WRITE_PART = 11
  184. Global Const DA_CAN_NOT_WRITE_REMAIN = 12
  185. Global Const DA_CAN_NOT_READ_HEADER = 13
  186. Global Const DA_HEADER_SIZE = 14
  187. Global Const DA_BAD_SIGNATURE = 15
  188. Global Const DA_FILE_SIZE_MISMATCH = 16
  189. Global Const DA_CAN_NOT_SEEK = 17
  190. Global Const DA_INVALID_HANDLE = 18
  191. Global Const DA_CAN_NOT_READ_PART = 19
  192. Global Const DA_CAN_NOT_READ_REMAIN = 20
  193.  
  194. ' definition for error type in HUGE MEMORY ARRAY
  195. Global Const HMA_NO_ERROR = True
  196. Global Const HMA_NO_MEMORY = 1
  197. Global Const HMA_BAD_TYPE = 2
  198. Global Const HMA_BAD_ROWS = 3
  199. Global Const HMA_BAD_COLS = 4
  200. Global Const HMA_BAD_SHEETS = 5
  201. Global Const HMA_INVALID_HANDLE = 6
  202.  
  203. ' definition for error type in SERIAL DATA
  204. Global Const SD_SERIAL_NOT_FOUND = 1
  205. Global Const SD_CAN_NOT_OPEN_FILE = 2
  206.  
  207. ' definition for File I/O
  208. Global Const EOFILE = -1
  209. Global Const SEEK_CUR = 1
  210. Global Const SEEK_END = 2
  211. Global Const SEEK_SET = 0
  212.  
  213. ' definition for file sort
  214. Global Const SORT_ASCENDING = 1
  215. Global Const SORT_DESCENDING = 2
  216. Global Const SORT_CASE_SENSITIVE = 4
  217. Global Const SORT_CASE_INSENSITIVE = 8
  218.  
  219. ' definition for compress/expand
  220. Global Const LZH_ENCODE = True
  221. Global Const LZH_DECODE = False
  222.  
  223. ' definition for PROPERNAME2
  224. Global Const PN_UPPERCASE = 1
  225. Global Const PN_PUNCTUATION = 2
  226. Global Const PN_KEEP_ORIGINAL = 4
  227. Global Const PN_ONLY_LEADER_SPACE = 8
  228.  
  229. ' definition for matrix fill
  230. Global Const MATRIX_ZERO = 0
  231. Global Const MATRIX_UNIT = 1
  232.  
  233. ' definition for FX picture
  234. Global Const FX_HORIZONTAL = 1
  235. Global Const FX_VERTICAL = 2
  236. Global Const FX_DIAGONAL_SQUARE = 3
  237. Global Const FX_RECTANGLE = 4
  238.  
  239. ' structure for splittin path
  240. Type tagSPLITPATH
  241.    nDrive            As String
  242.    nDir              As String
  243.    nName             As String
  244.    nExt              As String
  245. End Type
  246.  
  247. ' structure for file version information
  248. Type tagFILEVERSIONINFO
  249.    VersionProduct    As String
  250.    VersionFile       As String
  251.    CompanyName       As String
  252.    FileDescription   As String
  253.    FileVersion       As String
  254.    InternalName      As String
  255.    LegalCopyright    As String
  256.    LegalTrademarks   As String
  257.    Comments          As String
  258.    ProductName       As String
  259.    ProductVersion    As String
  260. End Type
  261.  
  262. ' structure for file attributes
  263. Type FileAttributeType
  264.    ErrNo             As Integer
  265.    Archive           As Integer
  266.    Hidden            As Integer
  267.    Normal            As Integer
  268.    ReadOnly          As Integer
  269.    SubDir            As Integer
  270.    System            As Integer
  271.    VolId             As Integer
  272. End Type
  273.  
  274. ' structure for VB array
  275. Type ArrayType
  276.    Bounds            As Long
  277.    LBound            As Integer
  278.    UBound            As Integer
  279.    ElemSize          As Integer
  280.    IndexCount        As Integer
  281.    TotalElem         As Integer
  282. End Type
  283.  
  284. ' structure for modules
  285. Type tagMODULEENTRY
  286.    dwSize            As Long
  287.    szModule          As String * 10
  288.    hModule           As Integer
  289.    wcUsage           As Integer
  290.    szExePath         As String * 256
  291.    wNext             As Integer
  292. End Type
  293.  
  294. ' structure for tasks
  295. Type tagTASKENTRY
  296.    dwSize            As Long
  297.    hTask             As Integer
  298.    hTaskParent       As Integer
  299.    hInst             As Integer
  300.    hModule           As Integer
  301.    wSS               As Integer
  302.    wSP               As Integer
  303.    wStackTop         As Integer
  304.    wStackMinimum     As Integer
  305.    wStackBottom      As Integer
  306.    wcEvents          As Integer
  307.    hQueue            As Integer
  308.    szModule          As String * 10
  309.    wPSPOffset        As Integer
  310.    hNext             As Integer
  311. End Type
  312.  
  313. ' structure for disk array
  314. Type tagDISKARRAY
  315.    daSize            As Integer           'size of the type'd
  316.    signature         As String * 7        'signature
  317.    nFilename         As String * 64       'name of the file
  318.    nType             As Integer           'variable type
  319.    nRows             As Long              'number of rows
  320.    nCols             As Long              'number of cols
  321.    nSheets           As Long              'number of sheets
  322.    rHandle           As Integer           'returned handle for use with other functions
  323.    rElementSize      As Integer           'returned size of a element
  324.    rFileSize         As Long              'returned size of the file
  325.    rParts            As Long              'returned total part
  326.    rRemain           As Long              'returned size of the remain part
  327.    rSheetSize        As Long              'size of a sheet
  328.    rOffset1          As Long              'returned offset 1
  329.    rOffset2          As Long              'returned offset 2
  330.    rTime             As Long              'time for the last correct transaction
  331.    nIsTyped          As Integer           'is nType a type'd variable
  332.    Dummy             As String * 7        'reserved for future use
  333. End Type
  334.  
  335. ' structure for multiple disk array
  336. Type tagMULTIPLEDISKARRAY
  337.    daSize               As Integer        'size of the structure
  338.    signature            As String * 7     'signature
  339.    nFilename            As String * 64    'name of the file
  340.    nType(1 To 20)       As Integer        'standard variable type (for 20 arrays)
  341.    nIsTyped(1 To 20)    As Integer        'is a type'd (for 20 arrays)
  342.    nRows(1 To 20)       As Long           'number of rows (for 20 arrays)
  343.    nCols(1 To 20)       As Long           'number of cols (for 20 arrays)
  344.    nSheets(1 To 20)     As Long           'number of sheets (for 20 arrays)
  345.    rHandle              As Integer        'returned handle for use with other functions
  346.    rFileSize            As Long           'returned size of the file
  347.    rElementSz(1 To 20)  As Integer        'returned size of a element (for 20 arrays)
  348.    rSheetSz(1 To 20)    As Long           'size of a sheet (for 20 arrays)
  349.    rOffsetPos(1 To 20)  As Long           'position of each array in the file (for 20 arrays)
  350.    rOffset1             As Long           'returned offset 1
  351.    rOffset2             As Long           'returned offset 2
  352.    rTime                As Long           'time for the last correct transaction
  353.    Dummy                As String * 29    'reserved for future use
  354. End Type
  355.  
  356. ' structure for huge memory array
  357. Type tagHMA
  358.    daSize            As Integer           'size of the type'd
  359.    nType             As Integer           'variable type
  360.    nRows             As Long              'number of rows
  361.    nCols             As Long              'number of cols
  362.    nSheets           As Long              'number of sheets
  363.    rHandle           As Integer           'returned handle for use with other functions
  364.    rElementSize      As Long              'returned size of a element
  365.    rMemorySize       As Long              'returned size of the memory used
  366.    rParts            As Long              'returned total part
  367.    rRemain           As Long              'returned size of the remain part
  368.    rSheetSize        As Long              'size of a sheet
  369.    rOffset           As Long              'returned offset
  370.    nIsTyped          As Integer           'is nType a type'd variable
  371.    Dummy             As String * 20       'reserved for future use
  372. End Type
  373.  
  374. ' structure for serialization
  375. Type tagSERIALDATA
  376.    Description1      As String * 50       'serialization description 1
  377.    Description2      As String * 50       'serialization description 2
  378.    Number            As Long              'serialization number
  379.    Dummy             As String * 50       'reserved for future use
  380. End Type
  381.  
  382. ' structure for ARRAYSTRINGONDISK and FILESINDIRTOARRAY
  383. Type tagVARSTRING
  384.    Contents          As String
  385. End Type
  386.  
  387. ' structure for 2-D geometry types
  388. Type tagVECTOR2
  389.    x                 As Double
  390.    y                 As Double
  391. End Type
  392.  
  393. ' structure for 3-D geometry types
  394. Type tagVECTOR3
  395.    x                 As Double
  396.    y                 As Double
  397.    z                 As Double
  398. End Type
  399.  
  400. ' structure for get/set Media ID
  401. Type tagMEDIAID
  402.    InfoLevel         As Integer
  403.    SerialNumber      As Long
  404.    VolLabel          As String * 11
  405.    FileSysType       As String * 8
  406. End Type
  407.  
  408. ' structure for Get Control Rectangle
  409. Type tagRECT
  410.    Left              As Integer
  411.    Top               As Integer
  412.    Right             As Integer
  413.    Bottom            As Integer
  414. End Type
  415.  
  416. ' structure for 3D-Meter
  417. Type tag3DMeter
  418.    CrtValue          As Long              'current value
  419.    MaxValue          As Long              'maximum value
  420.    BackColor         As Long
  421.    ForeColor         As Long
  422.    Polygon           As Integer           '0  : rectangle, 1 : triangle, 2 : trapezium, 3 : ellipse , 4 : bars
  423.    BarSize           As Integer           'size of a bar (polygon = 4) (in pixel : min=1,max=20,default=10)
  424.    SpaceBars         As Integer           'space between bars (polygon = 4) (in pixel : min=1,max=4,default=2)
  425.    Direction         As Integer           '0  : horizontal, other : vertical
  426.    ThreeD            As Integer           '-1 : indented, 1 : raised
  427.    Thickness         As Integer
  428.    Percent           As Integer           'internal use, do not change
  429.    OldPolygon        As Integer           'internal use, do not change
  430.    OldDirection      As Integer           'internal use, do not change
  431.    OldThreeD         As Integer           'internal use, do not change
  432.    HatchBrush        As Integer           '-1 : solid brush, 0 : hor., 1 : ver., 2 : downward diag., 3 : upward diag., 4 : cross, 5 : diag.cross
  433. End Type
  434.  
  435. ' structure for File Information
  436. Type tagFILEINFO
  437.    fSize             As Long              'size of the file
  438.    fDate             As Long              'date of the file (scalar date)
  439.    fTime             As Long              'time of the file (scalar time)
  440.    fAttribute        As Integer           'attribute of the file
  441. End Type
  442.  
  443. Rem Don't Remove It
  444. Declare Sub c3D Lib "time2win.dll" (Ctl As Control, ByVal Method As Integer, ByVal Thickness As Integer)
  445. Declare Sub c3DMeter Lib "time2win.dll" (hCtl As Control, Meter As tag3DMeter)
  446. Declare Function cAddD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  447. Declare Function cAddDigit Lib "time2win.dll" (Txt As String) As Integer
  448. Declare Function cAddI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  449. Declare Function cAddL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  450. Declare Function cAddS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  451. Declare Function cAddTime Lib "time2win.dll" (ByVal Hr As Integer) As Integer
  452. Declare Function cAddTwoTimes Lib "time2win.dll" (ByVal Time1 As String, ByVal Time2 As String) As String
  453. Declare Function cAlign Lib "time2win.dll" (Txt As String, ByVal TypeAlign As Integer, ByVal NewLength As Integer) As String
  454. Declare Function cAllSubDirectories Lib "time2win.dll" (ByVal lpBaseDirectory As String, nDir As Integer) As String
  455. Declare Function cAndToken Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String) As Integer
  456. Declare Function cAndTokenIn Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String, ByVal Separator As String) As Integer
  457. Declare Function cArabicToRoman Lib "time2win.dll" (Var As Variant) As String
  458. Declare Sub cArrangeDesktopIcons Lib "time2win.dll" ()
  459. Declare Function cArrayOnDisk Lib "time2win.dll" (ByVal FILE As String, array() As Any, ByVal GetPut As Integer) As Long
  460. Declare Function cArrayPrm Lib "time2win.dll" (array() As Any, nArray As Any) As Integer
  461. Declare Function cArrayStringOnDisk Lib "time2win.dll" (ByVal FILE As String, array() As Any, ByVal GetPut As Integer, rRecords As Long) As Long
  462. Declare Function cArrayToComboBox Lib "time2win.dll" (ByVal hWnd As Integer, array() As Any) As Integer
  463. Declare Function cArrayToListBox Lib "time2win.dll" (ByVal hWnd As Integer, array() As Any) As Integer
  464. Declare Function cB2I Lib "time2win.dll" (ByVal Txt As String) As Integer
  465. Declare Function cB2L Lib "time2win.dll" (ByVal Txt As String) As Long
  466. Declare Function cBaseConversion Lib "time2win.dll" (ByVal Num As String, ByVal RadixIn As Integer, ByVal RadixOut As Integer) As String
  467. Declare Function cBetween Lib "time2win.dll" (Var As Variant, Var1 As Variant, Var2 As Variant) As Integer
  468. Declare Function cBigAdd Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  469. Declare Function cBigDiv Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  470. Declare Function cBigMul Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  471. Declare Function cBigNum Lib "time2win.dll" (ByVal n1 As String, ByVal op As Integer, ByVal n2 As String) As String
  472. Declare Function cBigSub Lib "time2win.dll" (Num1 As String, Num2 As String) As String
  473. Declare Function cBigFmt Lib "time2win.dll" (Num As String, ByVal Length As Integer) As String
  474. Declare Function cBlockCharFromLeft Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  475. Declare Function cBlockCharFromRight Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  476. Declare Sub cCenterWindow Lib "time2win.dll" (ByVal hWnd As Integer)
  477. Declare Sub cChangeChars Lib "time2win.dll" (Txt As String, CharSet As String, NewCharSet As String)
  478. Declare Sub cChangeCharsUntil Lib "time2win.dll" (Txt As String, CharSet As String, NewCharSet As String, nUntil As String)
  479. Declare Sub cChangeTaskName Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  480. Declare Function cChDir Lib "time2win.dll" (ByVal lpDir As String) As Integer
  481. Declare Function cChDrive Lib "time2win.dll" (ByVal lpDrive As String) As Integer
  482. Declare Function cCheckChars Lib "time2win.dll" (Txt As String, CharSet As String) As Integer
  483. Declare Function cCheckMinuteChange Lib "time2win.dll" () As Integer
  484. Declare Function cCheckNumericity Lib "time2win.dll" (Txt As String) As Integer
  485. Declare Function cCheckSecondChange Lib "time2win.dll" () As Integer
  486. Declare Function cCheckStatus Lib "time2win.dll" (Ctl As Control) As Integer
  487. Declare Function cCheckTime Lib "time2win.dll" (ByVal Hr As Integer, ByVal Hr1 As Integer, ByVal Hr2 As Integer) As Integer
  488. Declare Function cCheckWait Lib "time2win.dll" (ByVal nTimer As Integer) As Integer
  489. Declare Function cCloseAllEditForm Lib "time2win.dll" () As Integer
  490. Declare Function cHashMD5 Lib "time2win.dll" (Text As String) As String
  491. Declare Function cCmpFileAttribute Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Integer
  492. Declare Function cCmpFileContents Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal Sensitivity As Integer) As Integer
  493. Declare Function cCmpFileSize Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Integer
  494. Declare Function cCmpFileTime Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Integer
  495. Declare Sub cCnvASCIItoEBCDIC Lib "time2win.dll" (Txt As String)
  496. Declare Sub cCnvEBCDICtoASCII Lib "time2win.dll" (Txt As String)
  497. Declare Function cCombination Lib "time2win.dll" (ByVal nItems As Integer, ByVal mTimes As Integer) As Double
  498. Declare Function cCompact Lib "time2win.dll" (Txt As String) As String
  499. Declare Function cCompareTypeString Lib "time2win.dll" Alias "cTypesCompare" (TypeSrc As Any, ByVal Dst As String, ByVal lenTypeSrc As Integer) As Integer
  500. Declare Function cCompareStringType Lib "time2win.dll" Alias "cTypesCompare" (ByVal Src As String, TypeDst As Any, ByVal lenTypeSrc As Integer) As Integer
  501. Declare Function cCompress Lib "time2win.dll" (Txt As String) As String
  502. Declare Function cCompressTab Lib "time2win.dll" (Txt As String, ByVal nTab As Integer) As String
  503. Declare Sub cCtl3D Lib "time2win.dll" (Ctl As Control, ByVal LeftTopColor As Long, ByVal RightBottomColor As Long, ByVal Thickness As Integer)
  504. Declare Function cConvert Lib "time2win.dll" (Value As String, ByVal MaskFrom As String, ByVal MaskTo As String, ByVal Size As Integer) As String
  505. Declare Function cCount Lib "time2win.dll" (Txt As String, Separator As String) As Integer
  506. Declare Function cCountDirectories Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  507. Declare Function cCountFiles Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  508. Declare Function cCountI Lib "time2win.dll" (array() As Integer, ByVal Value As Integer) As Long
  509. Declare Function cCountL Lib "time2win.dll" (array() As Long, ByVal Value As Long) As Long
  510. Declare Function cCountS Lib "time2win.dll" (array() As Single, ByVal Value As Single) As Long
  511. Declare Function cCountD Lib "time2win.dll" (array() As Double, ByVal Value As Double) As Long
  512. Declare Function cCplAlpha Lib "time2win.dll" (Txt As String) As String
  513. Declare Function cCplDigit Lib "time2win.dll" (Txt As String) As String
  514. Declare Function cCreateAndFill Lib "time2win.dll" (ByVal Length As Integer, Txt As String) As String
  515. Declare Function cCreateBits Lib "time2win.dll" (ByVal nBits As Integer) As String
  516. Declare Function cCurrentTime Lib "time2win.dll" () As Integer
  517. Declare Function cCVB Lib "time2win.dll" (Value As String) As Integer
  518. Declare Function cCVC Lib "time2win.dll" (Value As String) As Currency
  519. Declare Function cCVD Lib "time2win.dll" (Value As String) As Double
  520. Declare Function cCVI Lib "time2win.dll" (Value As String) As Integer
  521. Declare Function cCVL Lib "time2win.dll" (Value As String) As Long
  522. Declare Function cCVS Lib "time2win.dll" (Value As String) As Single
  523. Declare Function cDAClear Lib "time2win.dll" (DISKARRAY As tagDISKARRAY) As Integer
  524. Declare Function cDAClearCol Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, ByVal sheet As Long) As Integer
  525. Declare Function cDAClearRow Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal sheet As Long) As Integer
  526. Declare Function cDAClearSheet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal sheet As Long) As Integer
  527. Declare Sub cDAClose Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal DeleteFile As Integer)
  528. Declare Function cDACreate Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal CreateOrUse As Integer) As Integer
  529. Declare Function cDAGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long) As Variant
  530. Declare Sub cDAGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  531. Declare Sub cDAPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, Var As Variant)
  532. Declare Sub cDAPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  533. Declare Sub cDArGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, Var As Variant)
  534. Declare Sub cDArGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, nType As Any)
  535. Declare Sub cDArPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, Var As Variant)
  536. Declare Sub cDArPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long, nType As Any)
  537. Declare Function cDAsClearCol Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Col As Long) As Integer
  538. Declare Function cDAsClearRow Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long) As Integer
  539. Declare Sub cDAsGet Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  540. Declare Sub cDAsGetType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  541. Declare Sub cDAsPut Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  542. Declare Sub cDAsPutType Lib "time2win.dll" (DISKARRAY As tagDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  543. Declare Function cDateToScalar Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Long
  544. Declare Function cDayOfWeek Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer, ByVal nISO As Integer) As Integer
  545. Declare Function cDayOfYear Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Integer
  546. Declare Function cDaysInMonth Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer) As Integer
  547. Declare Sub cDecrI Lib "time2win.dll" (Value As Integer)
  548. Declare Sub cDecrL Lib "time2win.dll" (Value As Long)
  549. Declare Function cDecrypt Lib "time2win.dll" (Txt As String, Password As String, ByVal level As Integer) As String
  550. Declare Function cDeviationD Lib "time2win.dll" (array() As Double) As Double
  551. Declare Function cDeviationI Lib "time2win.dll" (array() As Integer) As Double
  552. Declare Function cDeviationL Lib "time2win.dll" (array() As Long) As Double
  553. Declare Function cDeviationS Lib "time2win.dll" (array() As Single) As Double
  554. Declare Sub cDisableCtlRedraw Lib "time2win.dll" (Ctl As Control)
  555. Declare Sub cDisableFI Lib "time2win.dll" (Ctl As Control)
  556. Declare Sub cDisableForm Lib "time2win.dll" (ByVal hWnd As Integer)
  557. Declare Sub cDisableRedraw Lib "time2win.dll" (ByVal hWnd As Integer)
  558. Declare Function cDOSGetMediaID Lib "time2win.dll" (ByVal nDrive As String, MEDIAID As tagMEDIAID) As Integer
  559. Declare Function cDOSGetVolumeLabel Lib "time2win.dll" (ByVal nDrive As String) As String
  560. Declare Function cDOSSetMediaID Lib "time2win.dll" (ByVal nDrive As String, MEDIAID As tagMEDIAID) As Integer
  561. Declare Function cDOSSetVolumeLabel Lib "time2win.dll" (ByVal nDrive As String, ByVal nVolumeLabel As String) As Integer
  562. Declare Sub cEnableCtlRedraw Lib "time2win.dll" (Ctl As Control)
  563. Declare Sub cEnableFI Lib "time2win.dll" (Ctl As Control)
  564. Declare Sub cEnableForm Lib "time2win.dll" (ByVal hWnd As Integer)
  565. Declare Sub cEnableRedraw Lib "time2win.dll" (ByVal hWnd As Integer)
  566. Declare Function cEncrypt Lib "time2win.dll" (Txt As String, Password As String, ByVal level As Integer) As String
  567. Declare Function cEXEnameActiveWindow Lib "time2win.dll" () As String
  568. Declare Function cEXEnameWindow Lib "time2win.dll" (ByVal hModule As Integer) As String
  569. Declare Function cEXEnameTask Lib "time2win.dll" (ByVal nFilename As String) As String
  570. Declare Function cExitWindowsAndExecute Lib "time2win.dll" (ByVal lpszExe As String, ByVal lpszParams As String) As Integer
  571. Declare Function cExpandTab Lib "time2win.dll" (Txt As String, ByVal nTab As Integer) As String
  572. Declare Function cFileChangeChars Lib "time2win.dll" (ByVal nFilename As String, CharSet As String, NewCharSet As String, ByVal nFileTemp As String) As Long
  573. Declare Function cFileCompress Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  574. Declare Function cFileCompressTab Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal nTab As Integer) As Long
  575. Declare Function cFileCopy Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  576. Declare Function cFileCRC32 Lib "time2win.dll" (ByVal lpFilename As String, ByVal Mode As Integer) As Long
  577. Declare Function cFileDateCreated Lib "time2win.dll" (ByVal lpFilename As String) As String
  578. Declare Function cFileDecrypt Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, Password As String, ByVal level As Integer) As Long
  579. Declare Function cFileDrive Lib "time2win.dll" (ByVal lpFilename As String) As String
  580. Declare Function cFileEncrypt Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, Password As String, ByVal level As Integer) As Long
  581. Declare Function cFileExpand Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  582. Declare Function cFileExpandTab Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal nTab As Integer) As Long
  583. Declare Function cFileFilter Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, Filter As String) As Long
  584. Declare Function cFileFilterNot Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, Filter As String) As Long
  585. Declare Function cFileGetAttrib Lib "time2win.dll" (ByVal nFilename As String, nFileAttribute As Any) As Integer
  586. Declare Function cFileLastDateAccess Lib "time2win.dll" (ByVal lpFilename As String) As String
  587. Declare Function cFileLastDateModified Lib "time2win.dll" (ByVal lpFilename As String) As String
  588. Declare Function cFileLastTimeAccess Lib "time2win.dll" (ByVal lpFilename As String) As String
  589. Declare Function cFileLastTimeModified Lib "time2win.dll" (ByVal lpFilename As String) As String
  590. Declare Function cFileLineCount Lib "time2win.dll" (ByVal lpFilename As String) As Long
  591. Declare Function cFileMerge Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String, ByVal fileTo As String) As Long
  592. Declare Function cFilePathExists Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  593. Declare Function cFileResetAllAttrib Lib "time2win.dll" (ByVal nFilename As String) As Integer
  594. Declare Function cFileResetArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  595. Declare Function cFileResetFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  596. Declare Function cFileResetHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  597. Declare Function cFileResetReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  598. Declare Function cFileResetSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  599. Declare Function cFileSearch Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Sensitivity As Integer) As Long
  600. Declare Function cFileSearchAndReplace Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Replace As String, ByVal nFileTemp As String, ByVal Sensitivity As Integer) As Long
  601. Declare Function cFileSearchCount Lib "time2win.dll" (ByVal nFilename As String, ByVal Search As String, ByVal Sensitivity As Integer) As Long
  602. Declare Function cFileSetAllAttrib Lib "time2win.dll" (ByVal nFilename As String) As Integer
  603. Declare Function cFileSetArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  604. Declare Function cFileSetAttrib Lib "time2win.dll" (ByVal nFilename As String, nFileAttribute As Any) As Integer
  605. Declare Function cFileSetFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  606. Declare Function cFileSetHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  607. Declare Function cFileSetReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  608. Declare Function cFileSetSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  609. Declare Function cFilesInDirectory Lib "time2win.dll" (ByVal nFilename As String, ByVal FirstNext As Integer) As String
  610. Declare Function cFilesInDirOnDisk Lib "time2win.dll" (ByVal nFile As String, ByVal nFilename As String, ByVal nAttribute As Integer) As Integer
  611. Declare Function cFilesInDirToArray Lib "time2win.dll" (ByVal nFilename As String, ByVal nAttribute As Integer, array() As Any) As Integer
  612. Declare Function cFilesInfoInDir Lib "time2win.dll" (ByVal nFilename As String, FILEINFO As tagFILEINFO, ByVal FirstNext As Integer) As String
  613. Declare Function cFileSize Lib "time2win.dll" (ByVal lpFilename As String) As Long
  614. Declare Function cFileSort Lib "time2win.dll" (ByVal FileIn As String, ByVal FileOut As String, ByVal SortMethod As Integer, ByVal RecordLength As Long, ByVal KeyOffset As Long, ByVal KeyLength As Long, rRecords As Integer) As Long
  615. Declare Function cFilesSize Lib "time2win.dll" (ByVal nFilename As String) As Long
  616. Declare Function cFilesSizeOnDisk Lib "time2win.dll" (ByVal nFilename As String) As Long
  617. Declare Function cFilesSlack Lib "time2win.dll" (ByVal nFilename As String, Size1 As Long, Size2 As Long) As Integer
  618. Declare Function cFileStatistics Lib "time2win.dll" (ByVal nFilename As String, nLines As Long, nWords As Long, nChars As Long) As Long
  619. Declare Function cFileTimeCreated Lib "time2win.dll" (ByVal lpFilename As String) As String
  620. Declare Function cFileToComboBox Lib "time2win.dll" (ByVal hWnd As Integer, ByVal nFile As String) As Integer
  621. Declare Function cFileToListBox Lib "time2win.dll" (ByVal hWnd As Integer, ByVal nFile As String) As Integer
  622. Declare Function cFileToUpper Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  623. Declare Function cFileToLower Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  624. Declare Function cFileUUCP Lib "time2win.dll" (ByVal FileNameIn As String, ByVal FileNameOut As String, ByVal Mode As Integer) As Long
  625. Declare Sub cFill Lib "time2win.dll" (Txt As String, Fill As String)
  626. Declare Function cFillD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  627. Declare Function cFillI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  628. Declare Function cFillL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  629. Declare Function cFillS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  630. Declare Function cFillIncrD Lib "time2win.dll" (array() As Double, ByVal nValue As Double, ByVal Increment As Double) As Integer
  631. Declare Function cFillIncrI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer, ByVal Increment As Integer) As Integer
  632. Declare Function cFillIncrL Lib "time2win.dll" (array() As Long, ByVal nValue As Long, ByVal Increment As Long) As Integer
  633. Declare Function cFillIncrS Lib "time2win.dll" (array() As Single, ByVal nValue As Single, ByVal Increment As Single) As Integer
  634. Declare Function cFilterBlocks Lib "time2win.dll" (Txt As String, Delimitor As String) As String
  635. Declare Function cFilterChars Lib "time2win.dll" (Txt As String, CharSet As String) As String
  636. Declare Function cFilterFirstChars Lib "time2win.dll" (Txt As String, CharSet As String) As String
  637. Declare Function cFilterNotChars Lib "time2win.dll" (Txt As String, CharSet As String) As String
  638. Declare Function cFindBitReset Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  639. Declare Function cFindBitSet Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  640. Declare Function cFindFileInEnv Lib "time2win.dll" (ByVal lpFilename As String, ByVal lpEnv As String) As Integer
  641. Declare Function cFindFileInPath Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  642. Declare Function cFloppyInfo Lib "time2win.dll" (ByVal nDrive As String, nHeads As Integer, nCylinders As Integer, nSectors As Integer) As Integer
  643. Declare Function cFraction Lib "time2win.dll" (ByVal nValue As Double, nNumerator As Double, nDenominator As Double) As Double
  644. Declare Function cFromBinary Lib "time2win.dll" (Text As String) As String
  645. Declare Function cFromBinary2 Lib "time2win.dll" (Text As String, Bin As String) As String
  646. Declare Function cFromHexa Lib "time2win.dll" (Text As String) As String
  647. Declare Function cFromHexa Lib "time2win.dll" (Text As String) As String
  648. Declare Function cFromZ9 Lib "time2win.dll" (Text As String) As String
  649. Declare Function cFullPath Lib "time2win.dll" (ByVal nFilename As String) As String
  650. Declare Function cFXpicture Lib "time2win.dll" (ByVal Method As Integer, ByVal hdc1 As Integer, ByVal hbitmap As Integer, ByVal parameter As Integer, ByVal delay As Integer) As Integer
  651. Declare Function cGet Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  652. Declare Function cGetAscTime Lib "time2win.dll" (ByVal nLanguage As Integer) As String
  653. Declare Function cGetBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As Integer
  654. Declare Function cGetBitD Lib "time2win.dll" (ByVal Value As Double, ByVal Position As Integer) As Integer
  655. Declare Function cGetBitI Lib "time2win.dll" (ByVal Value As Integer, ByVal Position As Integer) As Integer
  656. Declare Function cGetBitL Lib "time2win.dll" (ByVal Value As Long, ByVal Position As Integer) As Integer
  657. Declare Function cGetBitS Lib "time2win.dll" (ByVal Value As Single, ByVal Position As Integer) As Integer
  658. Declare Function cGetBlock Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Length As Integer) As String
  659. Declare Function cGetCaption Lib "time2win.dll" (ByVal hWnd As Integer) As String
  660. Declare Function cGetChangeTaskName Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String) As String
  661. Declare Function cGetClass Lib "time2win.dll" (ByVal hWnd As Integer) As String
  662. Declare Function cGetClassName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  663. Declare Function cGetContainer Lib "time2win.dll" (ByVal hWnd As Integer) As String
  664. Declare Function cGetCountry Lib "time2win.dll" () As String
  665. Declare Function cGetCountryCode Lib "time2win.dll" () As String
  666. Declare Function cGetCtlCaption Lib "time2win.dll" (Ctl As Control) As String
  667. Declare Function cGetCtlClass Lib "time2win.dll" (Ctl As Control) As String
  668. Declare Function cGetCtlContainer Lib "time2win.dll" (Ctl As Control) As String
  669. Declare Function cGetCtlDataField Lib "time2win.dll" (Ctl As Control) As String
  670. Declare Function cGetCtlForm Lib "time2win.dll" (Ctl As Control) As String
  671. Declare Function cGetCtlIndex Lib "time2win.dll" (Ctl As Control) As Integer
  672. Declare Function cGetCtlName Lib "time2win.dll" (Ctl As Control) As String
  673. Declare Function cGetCtlNameIndex Lib "time2win.dll" (Ctl As Control) As String
  674. Declare Function cGetCtlPropCaption Lib "time2win.dll" (Ctl As Control) As Integer
  675. Declare Function cGetCtlPropDataField Lib "time2win.dll" (Ctl As Control) As Integer
  676. Declare Function cGetCtlPropText Lib "time2win.dll" (Ctl As Control) As Integer
  677. Declare Sub cGetCtlRect Lib "time2win.dll" (Ctl As Control, RECT As Any)
  678. Declare Sub cGetCtlRectTwips Lib "time2win.dll" (Ctl As Control, RECT As Any)
  679. Declare Function cGetCtlTag Lib "time2win.dll" (Ctl As Control) As String
  680. Declare Function cGetCtlTagSized Lib "time2win.dll" (Ctl As Control) As String
  681. Declare Function cGetCtlText Lib "time2win.dll" (Ctl As Control) As String
  682. Declare Function cGetCurrency Lib "time2win.dll" () As String
  683. Declare Function cGetCurrentDrive Lib "time2win.dll" () As String
  684. Declare Function cGetDataField Lib "time2win.dll" (ByVal hWnd As Integer) As String
  685. Declare Function cGetDateFormat Lib "time2win.dll" () As String
  686. Declare Function cGetDateSeparator Lib "time2win.dll" () As String
  687. Declare Function cGetDefaultCurrentDir Lib "time2win.dll" () As String
  688. Declare Function cGetDefaultPrinter Lib "time2win.dll" () As String
  689. Declare Function cGetDevices Lib "time2win.dll" () As String
  690. Declare Function cGetDiskClusterSize Lib "time2win.dll" (ByVal lpDrive As String) As Long
  691. Declare Function cGetDiskFree Lib "time2win.dll" (ByVal lpDrive As String) As Long
  692. Declare Function cGetDiskSpace Lib "time2win.dll" (ByVal lpDrive As String) As Long
  693. Declare Function cGetDiskUsed Lib "time2win.dll" (ByVal lpDrive As String) As Long
  694. Declare Function cGetDriveCurrentDir Lib "time2win.dll" (ByVal lpDrive As String) As String
  695. Declare Function cGetDriveType Lib "time2win.dll" (ByVal lpDrive As String) As Integer
  696. Declare Function cGetFileVersion Lib "time2win.dll" (ByVal FileName As String, ByVal nFonction As Integer) As String
  697. Declare Function cGetFileVersionInfo Lib "time2win.dll" (ByVal FileName As String, FILEVERSIONINFO As Any) As Integer
  698. Declare Function cGetForm Lib "time2win.dll" (ByVal hWnd As Integer) As String
  699. Declare Function cGetFullNameInEnv Lib "time2win.dll" (ByVal lpFilename As String, ByVal lpEnv As String) As String
  700. Declare Function cGetFullNameInPath Lib "time2win.dll" (ByVal lpFilename As String) As String
  701. Declare Function cGetHourFormat Lib "time2win.dll" () As String
  702. Declare Function cGetHwnd Lib "time2win.dll" (Ctl As Control) As Integer
  703. Declare Function cGetIn Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  704. Declare Function cGetIndex Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  705. Declare Function cGetIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String) As String
  706. Declare Function cGetInPart Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  707. Declare Function cGetInPartR Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  708. Declare Function cGetInR Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  709. Declare Function cGetLanguage Lib "time2win.dll" () As String
  710. Declare Function cGetListSeparator Lib "time2win.dll" () As String
  711. Declare Function cGetLongDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  712. Declare Function cGetLongMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  713. Declare Function cGetName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  714. Declare Function cGetNameIndex Lib "time2win.dll" (ByVal hWnd As Integer) As String
  715. Declare Function cGetNetConnection Lib "time2win.dll" (ByVal lpDrive As String, ErrCode As Integer) As String
  716. Declare Function cGetPid Lib "time2win.dll" () As Integer
  717. Declare Function cGetPrinterPorts Lib "time2win.dll" () As String
  718. Declare Function cGetSectionItems Lib "time2win.dll" (ByVal Section As String, ByVal InitFile As String, nItems As Integer) As String
  719. Declare Function cGetShortDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  720. Declare Function cGetShortMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  721. Declare Function cGetSmallDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  722. Declare Function cGetSystemDirectory Lib "time2win.dll" () As String
  723. Declare Function cGetTag Lib "time2win.dll" (ByVal hWnd As Integer) As String
  724. Declare Function cGetTagSized Lib "time2win.dll" (ByVal hWnd As Integer, ByVal nSize As Integer) As String
  725. Declare Function cGetTaskName Lib "time2win.dll" (ByVal hWnd As Integer) As String
  726. Declare Function cGetText Lib "time2win.dll" (ByVal hWnd As Integer) As String
  727. Declare Function cGetTimeSeparator Lib "time2win.dll" () As String
  728. Declare Function cGetTinyDay Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nDay As Integer) As String
  729. Declare Function cGetTinyMonth Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal nMonth As Integer) As String
  730. Declare Function cGetVersion Lib "time2win.dll" () As Single
  731. Declare Function cGetWindowsDirectory Lib "time2win.dll" () As String
  732. Declare Function cGetWinINI Lib "time2win.dll" (ByVal Info As Integer) As String
  733. Declare Function cGetWinSection Lib "time2win.dll" (ByVal Section As String) As String
  734. Declare Function cGiveBitPalindrome Lib "time2win.dll" () As String
  735. Declare Function cGZIPFileCompress Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  736. Declare Function cGZIPFileExpand Lib "time2win.dll" (ByVal file1 As String, ByVal file2 As String) As Long
  737. Declare Function cGZIPStringCompress Lib "time2win.dll" (Txt As String) As String
  738. Declare Function cGZIPStringExpand Lib "time2win.dll" (Txt As String) As String
  739. Declare Function cHideAllEditForm Lib "time2win.dll" () As Integer
  740. Declare Function cHideDebugForm Lib "time2win.dll" () As Integer
  741. Declare Function cHourTo Lib "time2win.dll" (Txt As String) As Variant
  742. Declare Function cI2B Lib "time2win.dll" (ByVal Value As Integer) As String
  743. Declare Function cIfInStr Lib "time2win.dll" (Txt As String, Operator As String) As String
  744. Declare Sub cIncrI Lib "time2win.dll" (Value As Integer)
  745. Declare Sub cIncrL Lib "time2win.dll" (Value As Long)
  746. Declare Function cInsertBlocks Lib "time2win.dll" (Txt As String, Insert As String) As String
  747. Declare Function cInsertBlocksBy Lib "time2win.dll" (Txt As String, Insert As String, Delimitor As String) As String
  748. Declare Function cInsertByMask Lib "time2win.dll" (Txt As String, Mask As String, Insert As String) As String
  749. Declare Function cInsertChars Lib "time2win.dll" (Txt As String, ByVal Position As Integer, Insert As String) As String
  750. Declare Function cIntoBalance Lib "time2win.dll" (Var As Variant) As String
  751. Declare Function cIntoBalanceFill Lib "time2win.dll" (Var As Variant) As String
  752. Declare Function cIntoDate Lib "time2win.dll" (ByVal nDate As Long) As String
  753. Declare Function cIntoDateFill Lib "time2win.dll" (ByVal nDate As Long) As String
  754. Declare Function cIntoDateNull Lib "time2win.dll" (ByVal nDate As Long) As String
  755. Declare Function cIntoFixHour Lib "time2win.dll" (Var As Variant, ByVal Length As Integer, ByVal fillZero As Integer, ByVal CentiΦme As Integer) As String
  756. Declare Function cIntoHour Lib "time2win.dll" (Var As Variant) As String
  757. Declare Function cIntoVarHour Lib "time2win.dll" (Var As Variant) As String
  758. Declare Function cIsAlnum Lib "time2win.dll" (Txt As String) As Integer
  759. Declare Function cIsAlpha Lib "time2win.dll" (Txt As String) As Integer
  760. Declare Function cIsAscii Lib "time2win.dll" (Txt As String) As Integer
  761. Declare Function cIsBalance Lib "time2win.dll" (ByVal nHour As Long, ByVal nMinute As Integer, ByVal nSecond As Integer) As Integer
  762. Declare Function cIsBitPalindrome Lib "time2win.dll" (Txt As String) As Integer
  763. Declare Function cIsCsym Lib "time2win.dll" (Txt As String) As Integer
  764. Declare Function cIsCsymf Lib "time2win.dll" (Txt As String) As Integer
  765. Declare Function cIsDate Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer) As Integer
  766. Declare Function cIsDigit Lib "time2win.dll" (Txt As String) As Integer
  767. Declare Function cIsFileArchive Lib "time2win.dll" (ByVal nFilename As String) As Integer
  768. Declare Function cIsFileEmpty Lib "time2win.dll" (ByVal nFilename As String) As Integer
  769. Declare Function cIsFileFlag Lib "time2win.dll" (ByVal nFilename As String, ByVal nStatus As Integer) As Integer
  770. Declare Function cIsFileHidden Lib "time2win.dll" (ByVal nFilename As String) As Integer
  771. Declare Function cIsFileNormal Lib "time2win.dll" (ByVal nFilename As String) As Integer
  772. Declare Function cIsFilenameValid Lib "time2win.dll" (ByVal nFilename As String) As Integer
  773. Declare Function cIsFileReadOnly Lib "time2win.dll" (ByVal nFilename As String) As Integer
  774. Declare Function cIsFileSubDir Lib "time2win.dll" (ByVal nFilename As String) As Integer
  775. Declare Function cIsFileSystem Lib "time2win.dll" (ByVal nFilename As String) As Integer
  776. Declare Function cIsFileVolId Lib "time2win.dll" (ByVal nFilename As String) As Integer
  777. Declare Function cIsFormEnabled Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  778. Declare Function cIsHour Lib "time2win.dll" (ByVal nHour As Integer, ByVal nMinute As Integer, ByVal nSecond As Integer) As Integer
  779. Declare Function cIsISBN Lib "time2win.dll" (Txt As String) As Integer
  780. Declare Function cIsLeapYear Lib "time2win.dll" (ByVal nYear As Integer) As Integer
  781. Declare Function cIsLower Lib "time2win.dll" (Txt As String) As Integer
  782. Declare Function cIsPalindrome Lib "time2win.dll" (Txt As String) As Integer
  783. Declare Function cIsPunct Lib "time2win.dll" (Txt As String) As Integer
  784. Declare Function cIsSerial Lib "time2win.dll" (ByVal file1 As String) As Integer
  785. Declare Function cIsSpace Lib "time2win.dll" (Txt As String) As Integer
  786. Declare Function cIsUpper Lib "time2win.dll" (Txt As String) As Integer
  787. Declare Function cIsXdigit Lib "time2win.dll" (Txt As String) As Integer
  788. Declare Function cKillDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  789. Declare Function cKillDirFilesAll Lib "time2win.dll" (ByVal lpDir As String, ByVal lpMask As String) As Integer
  790. Declare Function cKillDirs Lib "time2win.dll" (ByVal lpDir As String, ByVal HeaderDirectory As Integer) As Integer
  791. Declare Function cKillFile Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  792. Declare Function cKillFileAll Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  793. Declare Function cKillFiles Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  794. Declare Function cKillFilesAll Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  795. Declare Sub cKillFocus Lib "time2win.dll" (ByVal hWnd As Integer)
  796. Declare Function cL2B Lib "time2win.dll" (ByVal Value As Long) As String
  797. Declare Function cLngMsgBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String) As Integer
  798. Declare Sub cLngBoxMsg Lib "time2win.dll" Alias "cLngMsgBox" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Button As Long, ByVal Title As String)
  799. Declare Function cLngInpBox Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal Message As String, ByVal Title As String, ByVal Default As String) As String
  800. Declare Sub cLngSysMenu Lib "time2win.dll" (ByVal nLanguage As Integer, ByVal hWnd As Integer)
  801. Declare Function cLockEventI Lib "time2win.dll" (Ctl As Control) As Integer
  802. Declare Function cLrc Lib "time2win.dll" (Txt As String) As String
  803. Declare Function cMakeDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  804. Declare Function cMakeMultipleDir Lib "time2win.dll" (ByVal lpFilename As String) As Integer
  805. Declare Function cMakePath Lib "time2win.dll" (ByVal nDrive As String, ByVal nDir As String, ByVal nFilename As String, ByVal Ext As String) As String
  806. Declare Sub cMatrixAdd Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayB() As Double, ArrayC() As Double)
  807. Declare Function cMatrixCoFactor Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ByVal Row As Integer, ByVal Col As Integer) As Double
  808. Declare Function cMatrixCompare Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double) As Integer
  809. Declare Sub cMatrixCopy Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double)
  810. Declare Function cMatrixDet Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double) As Double
  811. Declare Function cMatrixFill Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ByVal nInit As Integer) As Integer
  812. Declare Function cMatrixInv Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double) As Integer
  813. Declare Function cMatrixMinor Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ByVal Row As Integer, ByVal Col As Integer) As Double
  814. Declare Sub cMatrixMul Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayB() As Double, ArrayC() As Double)
  815. Declare Sub cMatrixSub Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayB() As Double, ArrayC() As Double)
  816. Declare Function cMatrixSymToeplitz Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double) As Integer
  817. Declare Sub cMatrixTranspose Lib "time2win.dll" (ByVal Size As Integer, ArrayA() As Double, ArrayC() As Double)
  818. Declare Function cMax Lib "time2win.dll" (Var1 As Variant, Var2 As Variant) As Variant
  819. Declare Function cMaxD Lib "time2win.dll" (array() As Double) As Double
  820. Declare Function cMaxI Lib "time2win.dll" (array() As Integer) As Integer
  821. Declare Function cMaxL Lib "time2win.dll" (array() As Long) As Long
  822. Declare Function cMaxS Lib "time2win.dll" (array() As Single) As Single
  823. Declare Function cMDAClear Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY) As Integer
  824. Declare Function cMDAClearCol Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, ByVal sheet As Long) As Integer
  825. Declare Function cMDAClearRow Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal sheet As Long) As Integer
  826. Declare Function cMDAClearSheet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal sheet As Long) As Integer
  827. Declare Sub cMDAClose Lib "time2win.dll" (MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal DeleteFile As Integer)
  828. Declare Function cMDACreate Lib "time2win.dll" (MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal CreateOrUse As Integer) As Integer
  829. Declare Function cMDAGet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long) As Variant
  830. Declare Sub cMDAGetType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  831. Declare Sub cMDAPut Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, Var As Variant)
  832. Declare Sub cMDAPutType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  833. Declare Sub cMDArGet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, Var As Variant)
  834. Declare Sub cMDArGetType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, nType As Any)
  835. Declare Sub cMDArPut Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, Var As Variant)
  836. Declare Sub cMDArPutType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long, nType As Any)
  837. Declare Function cMDAsClearCol Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Col As Long) As Integer
  838. Declare Function cMDAsClearRow Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long) As Integer
  839. Declare Sub cMDAsGet Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  840. Declare Sub cMDAsGetType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  841. Declare Sub cMDAsPut Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  842. Declare Sub cMDAsPutType Lib "time2win.dll" (ByVal array As Integer, MULTIPLEDISKARRAY As tagMULTIPLEDISKARRAY, ByVal Row As Long, ByVal Col As Long, nType As Any)
  843. Declare Function cMeanD Lib "time2win.dll" (array() As Double) As Double
  844. Declare Function cMeanI Lib "time2win.dll" (array() As Integer) As Double
  845. Declare Function cMeanL Lib "time2win.dll" (array() As Long) As Double
  846. Declare Function cMeanS Lib "time2win.dll" (array() As Single) As Double
  847. Declare Function cMin Lib "time2win.dll" (Var1 As Variant, Var2 As Variant) As Variant
  848. Declare Function cMinD Lib "time2win.dll" (array() As Double) As Double
  849. Declare Function cMinI Lib "time2win.dll" (array() As Integer) As Integer
  850. Declare Function cMinL Lib "time2win.dll" (array() As Long) As Long
  851. Declare Function cMinS Lib "time2win.dll" (array() As Single) As Single
  852. Declare Function cMixChars Lib "time2win.dll" (Txt As String) As String
  853. Declare Function cMKB Lib "time2win.dll" (ByVal Value As Integer) As String
  854. Declare Function cMKC Lib "time2win.dll" (ByVal Value As Currency) As String
  855. Declare Function cMKD Lib "time2win.dll" (ByVal Value As Double) As String
  856. Declare Function cMKI Lib "time2win.dll" (ByVal Value As Integer) As String
  857. Declare Function cMKL Lib "time2win.dll" (ByVal Value As Long) As String
  858. Declare Function cMKN Lib "time2win.dll" (ByVal Value As String) As String
  859. Declare Function cMKS Lib "time2win.dll" (ByVal Value As Single) As String
  860. Declare Function cMod10 Lib "time2win.dll" (ByVal Text As String) As Integer
  861. Declare Function cMod10R Lib "time2win.dll" (ByVal Text As String) As Integer
  862. Declare Function cMod11 Lib "time2win.dll" (ByVal Text As String) As Integer
  863. Declare Function cMod11R Lib "time2win.dll" (ByVal Text As String) As Integer
  864. Declare Function cMod137 Lib "time2win.dll" (ByVal Text As String) As Integer
  865. Declare Function cMod137R Lib "time2win.dll" (ByVal Text As String) As Integer
  866. Declare Function cModuleFind Lib "time2win.dll" (MODULEENTRY As Any, ByVal ModuleName As String) As Integer
  867. Declare Function cModules Lib "time2win.dll" (MODULEENTRY As Any, ByVal FirstNext As Integer) As Integer
  868. Declare Function cMorse Lib "time2win.dll" (ByVal morse As String) As String
  869. Declare Function cNexthWnd Lib "time2win.dll" (ByVal hWnd As Integer) As Integer
  870. Declare Function cNumDigit Lib "time2win.dll" (Txt As String) As Integer
  871. Declare Function cOneCharFromLeft Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  872. Declare Function cOneCharFromRight Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  873. Declare Function cOrToken Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String) As Integer
  874. Declare Function cOrTokenIn Lib "time2win.dll" (ByVal Txt As String, ByVal Token As String, ByVal Separator As String) As Integer
  875. Declare Function cPatternMatch Lib "time2win.dll" (ByVal Txt As String, ByVal pattern As String) As Integer
  876. Declare Function cPatternExtMatch Lib "time2win.dll" (ByVal Txt As String, ByVal pattern As String) As Integer
  877. Declare Function cProperName Lib "time2win.dll" (Txt As String) As String
  878. Declare Function cProperName2 Lib "time2win.dll" (Txt As String, ByVal TokenToUse As String, ByVal Options As Integer) As String
  879. Declare Sub cPutIni Lib "time2win.dll" (ByVal AppName As String, ByVal szItem As String, ByVal szDefault As String, ByVal InitFile As String)
  880. Declare Function cRcsCountFileDir Lib "time2win.dll" (ByVal FileOrDir As Integer, ByVal FirstFileOrDir As String, ByVal MaskDir As String, ByVal Recurse As Integer) As Integer
  881. Declare Function cRcsFilesSize Lib "time2win.dll" (ByVal FirstDir As String, ByVal MaskDir As String, ByVal Recurse As Integer) As Long
  882. Declare Function cRcsFilesSizeOnDisk Lib "time2win.dll" (ByVal FirstDir As String, ByVal MaskDir As String, ByVal Recurse As Integer) As Long
  883. Declare Function cRcsFilesSlack Lib "time2win.dll" (ByVal FirstDir As String, ByVal MaskDir As String, ByVal Recurse As Integer, Size1 As Long, Size2 As Long) As Integer
  884. Declare Function cReadBasisTimer Lib "time2win.dll" () As Long
  885. Declare Function cReadCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  886. Declare Function cReadCtlLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  887. Declare Function cReadMnuLanguage Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  888. Declare Function cReadMnuLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  889. Declare Function cReadTimer Lib "time2win.dll" (ByVal nTimer As Integer) As Long
  890. Declare Function cRebootSystem Lib "time2win.dll" () As Integer
  891. Declare Function cRegistrationKey Lib "time2win.dll" (ByVal RegString As String, ByVal RegCode As Long) As Long
  892. Declare Function cRemoveBlockChar Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Length As Integer) As String
  893. Declare Function cRemoveOneChar Lib "time2win.dll" (Txt As String, ByVal Position As Integer) As String
  894. Declare Function cRenameFile Lib "time2win.dll" (ByVal lpFilename1 As String, ByVal lpFilename2 As String) As Integer
  895. Declare Sub cResetCapture Lib "time2win.dll" ()
  896. Declare Sub cResetFocus Lib "time2win.dll" (ByVal hWnd1 As Integer, ByVal hWnd2 As Integer)
  897. Declare Function cResizeString Lib "time2win.dll" (Txt As String, ByVal NewLength As Integer) As String
  898. Declare Function cResizeStringAndFill Lib "time2win.dll" (Txt As String, ByVal NewLength As Integer, Fill As String) As String
  899. Declare Function cRestartWindows Lib "time2win.dll" () As Integer
  900. Declare Function cReverse Lib "time2win.dll" (Txt As String) As String
  901. Declare Sub cReverseAllBits Lib "time2win.dll" (Txt As String)
  902. Declare Sub cReverseAllBitsByChar Lib "time2win.dll" (Txt As String)
  903. Declare Function cReverseSortD Lib "time2win.dll" (array() As Double) As Integer
  904. Declare Function cReverseSortI Lib "time2win.dll" (array() As Integer) As Integer
  905. Declare Function cReverseSortL Lib "time2win.dll" (array() As Long) As Integer
  906. Declare Function cReverseSortS Lib "time2win.dll" (array() As Single) As Integer
  907. Declare Function cReverseSortStr Lib "time2win.dll" (Txt As String, ByVal nItem As Integer, ByVal ItemLength As Integer) As Integer
  908. Declare Sub cRndInit Lib "time2win.dll" (ByVal nRnd As Long)
  909. Declare Function cRnd Lib "time2win.dll" () As Double
  910. Declare Function cRndD Lib "time2win.dll" () As Double
  911. Declare Function cRndI Lib "time2win.dll" () As Integer
  912. Declare Function cRndL Lib "time2win.dll" () As Long
  913. Declare Function cRndS Lib "time2win.dll" () As Single
  914. Declare Function cRomanToArabic Lib "time2win.dll" (Txt As String) As Variant
  915. Declare Function cRUBYdecrypt Lib "time2win.dll" (Text As String, Key As String, ByVal Mode As Integer) As String
  916. Declare Function cRUBYencrypt Lib "time2win.dll" (Text As String, Key As String, ByVal Mode As Integer) As String
  917. Declare Function cRUBYdecryptFile Lib "time2win.dll" (ByVal FileIn As String, ByVal FileOut As String, Key As String, ByVal Mode As Integer) As Long
  918. Declare Function cRUBYencryptFile Lib "time2win.dll" (ByVal FileIn As String, ByVal FileOut As String, Key As String, ByVal Mode As Integer) As Long
  919. Declare Function cSaveCtlLanguage Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  920. Declare Function cSaveCtlLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal Property As Integer, ByVal FileLanguage As String) As Integer
  921. Declare Function cSaveMnuLanguage Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  922. Declare Function cSaveMnuLanguageExt Lib "time2win.dll" (Ctl As Control, ByVal FileLanguage As String) As Integer
  923. Declare Sub cScalarToDate Lib "time2win.dll" (ByVal Scalar As Long, nYear As Integer, nMonth As Integer, nDay As Integer)
  924. Declare Sub cScalarToTime Lib "time2win.dll" (ByVal Scalar As Long, nHour As Integer, nMin As Integer, nSec As Integer)
  925. Declare Function cScrollL Lib "time2win.dll" (Txt As String) As String
  926. Declare Function cScrollR Lib "time2win.dll" (Txt As String) As String
  927. Declare Function cSearchI Lib "time2win.dll" (array() As Integer, ByVal Value As Integer) As Long
  928. Declare Function cSearchL Lib "time2win.dll" (array() As Long, ByVal Value As Long) As Long
  929. Declare Function cSearchS Lib "time2win.dll" (array() As Single, ByVal Value As Single) As Long
  930. Declare Function cSearchD Lib "time2win.dll" (array() As Double, ByVal Value As Double) As Long
  931. Declare Sub cSetAllBits Lib "time2win.dll" (Txt As String, ByVal Value As Integer)
  932. Declare Sub cSetBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer, ByVal Value As Integer)
  933. Declare Sub cSetBitToFalse Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  934. Declare Sub cSetBitToTrue Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  935. Declare Sub cSetBitD Lib "time2win.dll" (Value As Double, ByVal Position As Integer, ByVal BitValue As Integer)
  936. Declare Sub cSetBitI Lib "time2win.dll" (Value As Integer, ByVal Position As Integer, ByVal BitValue As Integer)
  937. Declare Sub cSetBitL Lib "time2win.dll" (Value As Long, ByVal Position As Integer, ByVal BitValue As Integer)
  938. Declare Sub cSetBitS Lib "time2win.dll" (Value As Single, ByVal Position As Integer, ByVal BitValue As Integer)
  939. Declare Sub cSetCaption Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  940. Declare Sub cSetCapture Lib "time2win.dll" (ByVal hWnd As Integer)
  941. Declare Sub cSetCtlCaption Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  942. Declare Sub cSetCtlDataField Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  943. Declare Sub cSetCtlFocus Lib "time2win.dll" (Ctl As Control)
  944. Declare Sub cSetCtlPropString Lib "time2win.dll" (Ctl As Control, ByVal PropIndex As Integer, ByVal Text As String)
  945. Declare Sub cSetCtlTag Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  946. Declare Sub cSetCtlText Lib "time2win.dll" (Ctl As Control, ByVal Text As String)
  947. Declare Function cSetD Lib "time2win.dll" (array() As Double, ByVal nValue As Double) As Integer
  948. Declare Sub cSetDataField Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  949. Declare Sub cSetDefaultSeparator Lib "time2win.dll" (Separator As String)
  950. Declare Sub cSetFocus Lib "time2win.dll" (ByVal hWnd As Integer)
  951. Declare Function cSetHandleCount Lib "time2win.dll" (ByVal nHandle As Integer) As Integer
  952. Declare Function cSetI Lib "time2win.dll" (array() As Integer, ByVal nValue As Integer) As Integer
  953. Declare Function cSetL Lib "time2win.dll" (array() As Long, ByVal nValue As Long) As Integer
  954. Declare Function cSerialGet Lib "time2win.dll" (ByVal FILE As String, SERIALDATA As tagSERIALDATA) As Integer
  955. Declare Function cSerialInc Lib "time2win.dll" (ByVal FILE As String, ByVal Increment As Long) As Integer
  956. Declare Function cSerialPut Lib "time2win.dll" (ByVal FILE As String, SERIALDATA As tagSERIALDATA) As Integer
  957. Declare Function cSerialRmv Lib "time2win.dll" (ByVal FILE As String) As Integer
  958. Declare Function cSetS Lib "time2win.dll" (array() As Single, ByVal nValue As Single) As Integer
  959. Declare Sub cSetTag Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  960. Declare Sub cSetText Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Text As String)
  961. Declare Sub cSetWait Lib "time2win.dll" (ByVal nTimer As Integer, ByVal nValue As Long)
  962. Declare Function cSgn Lib "time2win.dll" (ByVal Value As Integer) As Integer
  963. Declare Sub cShowWindow Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Method As Integer, ByVal interval As Integer)
  964. Declare Function cSleep Lib "time2win.dll" (ByVal delay As Long) As Integer
  965. Declare Function cSortD Lib "time2win.dll" (array() As Double) As Integer
  966. Declare Function cSortI Lib "time2win.dll" (array() As Integer) As Integer
  967. Declare Function cSortL Lib "time2win.dll" (array() As Long) As Integer
  968. Declare Function cSortS Lib "time2win.dll" (array() As Single) As Integer
  969. Declare Function cSortStr Lib "time2win.dll" (Txt As String, ByVal nItem As Integer, ByVal ItemLength As Integer) As Integer
  970. Declare Function cSpellMoney Lib "time2win.dll" (ByVal Value As Double, ByVal Units As String, ByVal Cents As String) As String
  971. Declare Function cSplitPath Lib "time2win.dll" (ByVal nFilename As String, SPLITPATH As Any) As Integer
  972. Declare Sub cStartBasisTimer Lib "time2win.dll" ()
  973. Declare Sub cStartTimer Lib "time2win.dll" (ByVal nTimer As Integer)
  974. Declare Sub cStartWait Lib "time2win.dll" (ByVal nTimer As Integer)
  975. Declare Sub cStopBasisTimer Lib "time2win.dll" ()
  976. Declare Function cStopTimer Lib "time2win.dll" (ByVal nTimer As Integer) As Long
  977. Declare Function cStringCompress Lib "time2win.dll" (Txt As String) As String
  978. Declare Function cStringCRC32 Lib "time2win.dll" (Txt As String) As Long
  979. Declare Function cStringExpand Lib "time2win.dll" (Txt As String) As String
  980. Declare Function cStringSAR Lib "time2win.dll" (ByVal Txt As String, ByVal Search As String, ByVal Replace As String, ByVal Sensitivity As Integer) As String
  981. Declare Sub cStringToType Lib "time2win.dll" Alias "cTypesCopy" (ByVal Src As String, TypeDst As Any, ByVal lenTypeSrc As Integer)
  982. Declare Function cSubDirectory Lib "time2win.dll" (ByVal nFilename As String, ByVal FirstNext As Integer) As String
  983. Declare Function cSumD Lib "time2win.dll" (array() As Double) As Double
  984. Declare Function cSumI Lib "time2win.dll" (array() As Integer) As Double
  985. Declare Function cSumL Lib "time2win.dll" (array() As Long) As Double
  986. Declare Function cSumS Lib "time2win.dll" (array() As Single) As Double
  987. Declare Sub cSysMenuChange Lib "time2win.dll" (ByVal hWnd As Integer, ByVal Position As Integer, ByVal NewMessage As String)
  988. Declare Sub cSwapD Lib "time2win.dll" (swap1 As Double, swap2 As Double)
  989. Declare Sub cSwapI Lib "time2win.dll" (swap1 As Integer, swap2 As Integer)
  990. Declare Sub cSwapL Lib "time2win.dll" (swap1 As Long, swap2 As Long)
  991. Declare Sub cSwapS Lib "time2win.dll" (swap1 As Single, swap2 As Single)
  992. Declare Sub cSwapStr Lib "time2win.dll" (swap1 As String, swap2 As String)
  993. Declare Function cTaskFind Lib "time2win.dll" (TASKENTRY As Any, ByVal hTask As Integer) As Integer
  994. Declare Function cTasks Lib "time2win.dll" (TASKENTRY As Any, ByVal FirstNext As Integer) As Integer
  995. Declare Function cTimeBetween Lib "time2win.dll" (ByVal Hr1 As Integer, ByVal Hr2 As Integer) As Integer
  996. Declare Function cTimerClose Lib "time2win.dll" (ByVal TimerHandle As Integer) As Integer
  997. Declare Function cTimerOpen Lib "time2win.dll" () As Integer
  998. Declare Function cTimerRead Lib "time2win.dll" (ByVal TimerHandle As Integer) As Long
  999. Declare Function cTimerStart Lib "time2win.dll" (ByVal TimerHandle As Integer) As Integer
  1000. Declare Function cTimeToScalar Lib "time2win.dll" (ByVal nHour As Integer, ByVal nMin As Integer, ByVal nSec As Integer) As Long
  1001. Declare Function cToBinary Lib "time2win.dll" (Text As String) As String
  1002. Declare Function cToBinary2 Lib "time2win.dll" (Text As String, Bin As String) As String
  1003. Declare Sub cToggleAllBits Lib "time2win.dll" (Txt As String)
  1004. Declare Sub cToggleBit Lib "time2win.dll" (Txt As String, ByVal Position As Integer)
  1005. Declare Function cToHexa Lib "time2win.dll" (Text As String) As String
  1006. Declare Function cTokenIn Lib "time2win.dll" (Txt As String, Separator As String, ByVal Position As Integer) As String
  1007. Declare Function cToZ9 Lib "time2win.dll" (Text As String) As String
  1008. Declare Function cTrueBetween Lib "time2win.dll" (Var As Variant, Var1 As Variant, Var2 As Variant) As Integer
  1009. Declare Function cTruncatePath Lib "time2win.dll" (ByVal nFilename As String, ByVal NewLength As Integer) As String
  1010. Declare Sub cTypeClear Lib "time2win.dll" (TypeSrc As Any, ByVal lenTypeSrc As Integer)
  1011. Declare Function cTypeMid Lib "time2win.dll" (TypeSrc As Any, ByVal offset As Integer, ByVal Length As Integer) As String
  1012. Declare Function cTypesCompare Lib "time2win.dll" (Type1 As Any, Type2 As Any, ByVal lenType1 As Integer) As Integer
  1013. Declare Sub cTypesCopy Lib "time2win.dll" (TypeSrc As Any, TypeDst As Any, ByVal lenTypeSrc As Integer)
  1014. Declare Function cTypeTransfert Lib "time2win.dll" (TypeSrc As Any, ByVal lenTypeSrc As Integer) As String
  1015. Declare Sub cTypeToString Lib "time2win.dll" Alias "cTypesCopy" (TypeSrc As Any, ByVal Dst As String, ByVal lenTypeSrc As Integer)
  1016. Declare Function cUncompact Lib "time2win.dll" (Txt As String) As String
  1017. Declare Function cUnHideAllEditForm Lib "time2win.dll" () As Integer
  1018. Declare Function cUnHideDebugForm Lib "time2win.dll" () As Integer
  1019. Declare Function cUniqueFileName Lib "time2win.dll" (Txt As String) As String
  1020. Declare Sub cUnloadDLL Lib "time2win.dll" (ByVal hMod As Integer)
  1021. Declare Sub cUnlockEventI Lib "time2win.dll" (Ctl As Control)
  1022. Declare Function cWalkThruWindow Lib "time2win.dll" (Class As String, Caption As String, OwnerHwnd As Integer, OwnerClass As String, OwnerCaption As String, ByVal FirstNext As Integer) As Integer
  1023. Declare Function cWeekOfYear Lib "time2win.dll" (ByVal nYear As Integer, ByVal nMonth As Integer, ByVal nDay As Integer, ByVal nISO As Integer) As Integer
  1024.  
  1025. Declare Sub cPushID Lib "time2win.dll" (IDArray As Integer, ByVal nID As Integer)
  1026. Declare Sub cPopID Lib "time2win.dll" (IDArray As Integer, ByVal nID As Integer)
  1027. Declare Sub cPopLastID Lib "time2win.dll" (IDArray As Integer)
  1028. Declare Function cGetID Lib "time2win.dll" (IDArray As Integer, ByVal nPosition As Integer) As Integer
  1029. Declare Sub cClearID Lib "time2win.dll" (IDArray As Integer)
  1030.  
  1031. ' File I/O, direct routines issued from C functionnalities
  1032. Declare Function cFopen Lib "time2win.dll" (ByVal FILE As String, ByVal Mode As String) As Long
  1033. Declare Function cFclose Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1034. Declare Function cFgetc Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1035. Declare Function cFputc Lib "time2win.dll" (ByVal char As Integer, ByVal IOstream As Long) As Integer
  1036. Declare Function cFputs Lib "time2win.dll" (ByVal Txt As String, ByVal IOstream As Long) As Integer
  1037. Declare Function cFgets Lib "time2win.dll" (Txt As String, ByVal Length As Integer, ByVal IOstream As Long) As Integer
  1038. Declare Function cFwrite Lib "time2win.dll" (Txt As String, ByVal IOstream As Long) As Integer
  1039. Declare Function cFread Lib "time2win.dll" (Txt As String, ByVal Length As Integer, ByVal IOstream As Long) As Integer
  1040. Declare Function cFcloseall Lib "time2win.dll" () As Integer
  1041. Declare Function cFflush Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1042. Declare Function cFflushall Lib "time2win.dll" () As Integer
  1043. Declare Function cFeof Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1044. Declare Function cFerror Lib "time2win.dll" (ByVal IOstream As Long) As Integer
  1045. Declare Sub cFclearerr Lib "time2win.dll" (ByVal IOstream As Long)
  1046. Declare Function cFseek Lib "time2win.dll" (ByVal IOstream As Long, ByVal offset As Long, ByVal origin As Integer) As Integer
  1047. Declare Function cFtell Lib "time2win.dll" (ByVal IOstream As Long) As Long
  1048. Declare Sub cFrewind Lib "time2win.dll" (ByVal IOstream As Long)
  1049. Declare Function cFProcessAsciiFile Lib "time2win.dll" (ByVal IOstream As Long, AsciiOffset() As Long) As Long
  1050. Declare Function cFGotoRecord Lib "time2win.dll" (ByVal IOstream As Long, AsciiOffset() As Long, ByVal Record As Long) As Integer
  1051.  
  1052. ' Functions for calculating interest rate
  1053. Declare Function cAtoF Lib "time2win.dll" (ByVal Interest As Double, ByVal N As Integer) As Double
  1054. Declare Function cAtoFC Lib "time2win.dll" (ByVal Rates As Double, ByVal N As Integer) As Double
  1055. Declare Function cAtoP Lib "time2win.dll" (ByVal Interest As Double, ByVal N As Integer) As Double
  1056. Declare Function cAtoPC Lib "time2win.dll" (ByVal Rates As Double, ByVal N As Integer) As Double
  1057. Declare Function cFtoA Lib "time2win.dll" (ByVal Interest As Double, ByVal N As Integer) As Double
  1058. Declare Function cFtoAC Lib "time2win.dll" (ByVal Rates As Double, ByVal N As Integer) As Double
  1059. Declare Function cFtoP Lib "time2win.dll" (ByVal Interest As Double, ByVal N As Integer) As Double
  1060. Declare Function cFtoPC Lib "time2win.dll" (ByVal Rates As Double, ByVal N As Integer) As Double
  1061. Declare Function cPtoA Lib "time2win.dll" (ByVal Interest As Double, ByVal N As Integer) As Double
  1062. Declare Function cPtoAC Lib "time2win.dll" (ByVal Rates As Double, ByVal N As Integer) As Double
  1063. Declare Function cPtoF Lib "time2win.dll" (ByVal Interest As Double, ByVal N As Integer) As Double
  1064. Declare Function cPtoFC Lib "time2win.dll" (ByVal Rates As Double, ByVal N As Integer) As Double
  1065.  
  1066. ' Functions for calculating 2-D geometry
  1067. Declare Sub cV2Add Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2, w As tagVECTOR2)
  1068. Declare Sub cV2Sub Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2, w As tagVECTOR2)
  1069. Declare Sub cV2Combine Lib "time2win.dll" (u As tagVECTOR2, ByVal c1 As Double, v As tagVECTOR2, ByVal c2 As Double, w As tagVECTOR2)
  1070. Declare Sub cV2Copy Lib "time2win.dll" (u As tagVECTOR2, w As tagVECTOR2)
  1071. Declare Function cV2Dot Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2) As Double
  1072. Declare Function cV2Length Lib "time2win.dll" (u As tagVECTOR2) As Double
  1073. Declare Function cV2LengthSquared Lib "time2win.dll" (u As tagVECTOR2) As Double
  1074. Declare Sub cV2LinearIp Lib "time2win.dll" (lo As tagVECTOR2, hi As tagVECTOR2, ByVal alpha As Double, w As tagVECTOR2)
  1075. Declare Sub cV2Mul Lib "time2win.dll" (u As tagVECTOR2, v As tagVECTOR2, w As tagVECTOR2)
  1076. Declare Sub cV2Neg Lib "time2win.dll" (u As tagVECTOR2)
  1077. Declare Sub cV2Normalized Lib "time2win.dll" (u As tagVECTOR2)
  1078. Declare Sub cV2Ortho Lib "time2win.dll" (u As tagVECTOR2, w As tagVECTOR2)
  1079. Declare Sub cV2ScaledNewLength Lib "time2win.dll" (u As tagVECTOR2, ByVal newlen As Double)
  1080. Declare Function cV2SegmentLength Lib "time2win.dll" (p As tagVECTOR2, q As tagVECTOR2) As Double
  1081.  
  1082. ' Functions for calculating 3-D geometry
  1083. Declare Sub cV3Add Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1084. Declare Sub cV3Sub Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1085. Declare Sub cV3Combine Lib "time2win.dll" (u As tagVECTOR3, ByVal c1 As Double, v As tagVECTOR3, ByVal c2 As Double, w As tagVECTOR3)
  1086. Declare Sub cV3Copy Lib "time2win.dll" (u As tagVECTOR3, w As tagVECTOR3)
  1087. Declare Sub cV3Cross Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1088. Declare Function cV3Dot Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3) As Double
  1089. Declare Function cV3Length Lib "time2win.dll" (u As tagVECTOR3) As Double
  1090. Declare Function cV3LengthSquared Lib "time2win.dll" (u As tagVECTOR3) As Double
  1091. Declare Sub cV3LinearIp Lib "time2win.dll" (lo As tagVECTOR3, hi As tagVECTOR3, ByVal alpha As Double, w As tagVECTOR3)
  1092. Declare Sub cV3Mul Lib "time2win.dll" (u As tagVECTOR3, v As tagVECTOR3, w As tagVECTOR3)
  1093. Declare Sub cV3Neg Lib "time2win.dll" (u As tagVECTOR3)
  1094. Declare Sub cV3Normalized Lib "time2win.dll" (u As tagVECTOR3)
  1095. Declare Sub cV3ScaledNewLength Lib "time2win.dll" (u As tagVECTOR3, ByVal newlen As Double)
  1096. Declare Function cV3SegmentLength Lib "time2win.dll" (p As tagVECTOR3, q As tagVECTOR3) As Double
  1097.  
  1098. ' Functions for Huge String management
  1099. Declare Function cHugeStrAdd Lib "time2win.dll" (ByVal hsHandle As Integer, hsText As String) As Integer
  1100. Declare Function cHugeStrAddress Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1101. Declare Function cHugeStrAppend Lib "time2win.dll" (ByVal hsHandle As Integer, hsText As String) As Integer
  1102. Declare Function cHugeStrBlocks Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1103. Declare Function cHugeStrClear Lib "time2win.dll" (ByVal hsHandle As Integer) As Integer
  1104. Declare Function cHugeStrCreate Lib "time2win.dll" (ByVal hsSize As Long) As Integer
  1105. Declare Function cHugeStrFree Lib "time2win.dll" (ByVal hsHandle As Integer) As Integer
  1106. Declare Function cHugeStrGetNP Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1107. Declare Function cHugeStrGetWP Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1108. Declare Function cHugeStrLength Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1109. Declare Function cHugeStrMid Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsStart As Long, ByVal hsLength As Long) As String
  1110. Declare Function cHugeStrNext Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsNext As Long) As String
  1111. Declare Function cHugeStrOnDisk Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsFile As String, ByVal hsGetPut As Integer) As Long
  1112. Declare Function cHugeStrRead Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsBlock As Long) As String
  1113. Declare Function cHugeStrSetNP Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsPtr As Long) As Integer
  1114. Declare Function cHugeStrSetWP Lib "time2win.dll" (ByVal hsHandle As Integer, ByVal hsPtr As Long) As Integer
  1115. Declare Function cHugeStrSize Lib "time2win.dll" (ByVal hsHandle As Integer) As Long
  1116.  
  1117. ' Functions for Huge Memory Array management
  1118. Declare Function cHMAClear Lib "time2win.dll" (HMA As tagHMA) As Integer
  1119. Declare Function cHMAClearCol Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, ByVal sheet As Long) As Integer
  1120. Declare Function cHMAClearRow Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal sheet As Long) As Integer
  1121. Declare Function cHMAClearSheet Lib "time2win.dll" (HMA As tagHMA, ByVal sheet As Long) As Integer
  1122. Declare Function cHMACreate Lib "time2win.dll" (HMA As tagHMA) As Integer
  1123. Declare Function cHMAFree Lib "time2win.dll" (HMA As tagHMA) As Integer
  1124. Declare Function cHMAGet Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long) As Variant
  1125. Declare Sub cHMAGetType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  1126. Declare Sub cHMAPut Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, Var As Variant)
  1127. Declare Sub cHMAPutType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, ByVal sheet As Long, nType As Any)
  1128. Declare Sub cHMArGet Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, Var As Variant)
  1129. Declare Sub cHMArGetType Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, nType As Any)
  1130. Declare Sub cHMArPut Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, Var As Variant)
  1131. Declare Sub cHMArPutType Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long, nType As Any)
  1132. Declare Sub cHMAsGet Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  1133. Declare Sub cHMAsGetType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, nType As Any)
  1134. Declare Sub cHMAsPut Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, Var As Variant)
  1135. Declare Sub cHMAsPutType Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long, ByVal Col As Long, nType As Any)
  1136. Declare Function cHMAsClearCol Lib "time2win.dll" (HMA As tagHMA, ByVal Col As Long) As Integer
  1137. Declare Function cHMAsClearRow Lib "time2win.dll" (HMA As tagHMA, ByVal Row As Long) As Integer
  1138. Declare Function cHMAOnDisk Lib "time2win.dll" (HMA As tagHMA, ByVal hsFile As String, ByVal hsGetPut As Integer) As Long
  1139.  
  1140.